/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.oa.entity;

import com.google.common.collect.Lists;
import com.jeeplus.common.utils.Collections3;
import com.jeeplus.common.utils.IdGen;
import com.jeeplus.common.utils.StringUtils;
import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.modules.sys.entity.User;
import org.hibernate.validator.constraints.Length;

import java.util.List;

/**
 * 通知通告Entity
 *
 * @author jeeplus
 * @version 2017-05-16
 */
public class RandomDrawingHis extends DataEntity<RandomDrawingHis> {

    private static final long serialVersionUID = 1L;
    private String type;        // 抽取类型 0-机构 1-人员
    private String ids;        // 抽取IdString
    private String address;        // 地址
    private Integer num;        // 抽取数量
    private String dictId;        //抽取类别（关联字典ID）
    private String dictName;      //抽取类别名称

    public RandomDrawingHis() {
        super();
    }

    public RandomDrawingHis(String id) {
        super(id);
    }

    @Length(min = 0, max = 200, message = "标题长度必须介于 0 和 200 之间")
    public String getIds() {
        return ids;
    }

    public void setIds(String ids) {
        this.ids = ids;
    }

    @Length(min = 0, max = 1, message = "类型长度必须介于 0 和 1 之间")
    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Length(min = 0, max = 200, message = "地址长度必须在 0 和 200 之间")
    public String getAddress() {
        return address;
    }

    public void setAddress(String status) {
        this.address = address;
    }


    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }



    public String getDictId() {
        return dictId;
    }

    public void setDictId(String dictId) {
        this.dictId = dictId;
    }


    public String getDictName() {
        return dictName;
    }

    public void setDictName(String dictName) {
        this.dictName = dictName;
    }


}